﻿using MediatR;
using SqlSugar;

namespace FinancialManagement.Application.Command.SalesShouldRefundCommand
{
    public class AddSalesShouldRefundCommand:IRequest<int>
    {
        /// <summary>
        /// 销售应退款id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int SalesShouldRefundId { get; set; }
        /// <summary>
        /// 退款计划编号
        /// </summary>
        public string? RefundPlanCode { get; set; }
        /// <summary>
        /// 计划退款日期
        /// </summary>
        public DateTime? PlanRefundDate { get; set; }
        /// <summary>
        /// 已退款金额
        /// </summary>
        public decimal? AmountRefund { get; set; }
        /// <summary>
        /// 退款方式
        /// </summary>
        public int? RefundPaceWay { get; set; }
        /// <summary>
        /// 销售退货id
        /// </summary>
        public int SalesReturnId { get; set; }
    }
}
